package com.dcjt.firehotcarpad.base

import com.aries.library.fast.util.SPUtil

object ApiPath {


    const val BASE_HTTP = "http://"

    const val BASE_PORT = "192.168.30.250:8928"//公司
//    const val BASE_PORT = "192.168.30.33:6900"//公司-测试
//    const val BASE_PORT = "118.122.253.78:20035"//自贡测试
//        const val BASE_PORT ="118.122.253.78:21027"
    var BASE_URL = BASE_HTTP + SPUtil.get(App.get(), SPConstant.HTTP_SERVICES, BASE_PORT)

//    const val MESSAGE_URL = "http://47.99.221.176:8927"

    const val API_SEND_MESSAGE = "/mq/message"
    const val API_ADD_GROUP = "/mq/group/user/add"
    const val API_TAKE = "/mq/message/take"
    const val API_GET_MESSAGE_CONFIG = "/app/array"    //获取应用信息
    const val API_GET_MESSAGE_CONFIG_REGISTER = "/app/register"    //注册应用信息


    const val API_LOGIN = "/znzh/sys_Login"
    const val API_CONFIG_TYPE = "/znzh/sys_GetSystemConfig"
    const val API_CONFIG_TYPE_JCJ = "/cf/sys_GetSystemConfig"
    const val API_CONFIG_TYPE_JCJ_APP = "/cf/sys_GetAppConfig"

    //警情列表
    const val API_DISATER_LIST = "/znzh/buz_GetZqxxList"

    //警情列表（智能推荐）
    const val API_DISATER_LIST_TJ = "/znzh/buz_GetZqxxTjList"

    //警情详情
    const val API_DISATER_DEATIL = "/znzh/buz_GetZqxq"

    //获取标绘列表
    const val API_BIAOHUI_INFO = "/znzh/buz_GetGroMark"

    //字典表
    const val API_DISATER_DICT = "/znzh/base_GetSjzd"

    //修改场所类型
    const val API_UPDATE_CSLX = "/znzh/sys_UpdateCslx"

    //获取录音文件
    const val API_GET_VOICE_FILE = "/znzh/buz_GetFirstCall"

    //-获取本车作战信息
    const val API_GET_CAR_ZZXX = "/znzh/czpb_getzzxx"

    //获取机构列表
    const val API_GET_JGLB = "/znzh/czpb_xt_getjglb"

    //获取车辆列表
    const val API_GET_CLLB = "/znzh/czpb_xt_getcllb"


    const val KEY_BASE_MESSAGE = "KEY_BASE_MESSAGE"
    const val KEY_BASE_UPLOAD_FILE = "KEY_BASE_UPLOAD_FILE"
    const val pmq_access_token = "cb9b24b8a80b8989ab5b8a6a40f8ab98"
    const val pmq_aid = "31498a0b"
    const val pmq_to_pc_id = "1123598821738675201"

    const val ADD_POINT_ON_MAP = "ADD_POINT_ON_MAP"
    const val CLEAR_POINT_ON_MAP = "CLEAR_POINT_ON_MAP"

    const val RESULT_CODE_SELECT = 3
    const val RESULT_OK = 1

    const val REQ_MANAGE_OVERLAY_PERMISSION = 1
    const val CHANNEL_TWO_ID = "com.notification.im"
    const val CHANNEL_TWO_NAME = "Channel TWO"
    const val CHANNEL_ONE_ID = "com.notification.notice"
    const val CHANNEL_ONE_NAME = "Channel ONE"
    const val RESULT_CODE = 0x0010 //结果码
    const val REQUEST_CODE = 0x0001 //请求码

    const val MY_TEXT = 0x0000 //我发送的纯文本
    const val OTHER_TEXT = 0x0010 //他人发送的纯文本

    const val Audio_STATE_OPEN = 0x0100 //开始录音
    const val Audio_STATE_CLOSE = 0x0101 //结束录音
    const val Audio_STATE_PAUSE = 0x0110 //停止录音

    // 修改车辆作战状态
    const val ChangeCalStatus = "buz_SetClzt"
    const val ChangeCalStatusWjq = "buz_SetClzt_Wjq"

    // 获取时序化信息
    const val sxhInfoList = "cf/buz_GetCjxx_Jqxx"

    //获取周边水源
    const val GET_AROUND_WATER = "/znzh/anly_GetBuffer"

    //获取警情列表
    const val GET_DISASTER_LIST = "/znzh/czpb_getclzqlb"

    //获取周边水源
    const val GET_WATER_SOURCE_LIST = "/znzh/czpb_getzbsylb"

    //获取指令列表
    const val GET_INSTRUCTION_LIST = "/znzh/czpb_Jszl"
    //修改指令
    const val UPLOAD_INSTRUCTION_STATE = "/znzh/znzh_UpdateZl"

    //获取本车信息
    const val GET_CAR_DETAIL = "/znzh/czpb_getclxx"

    //获取标绘信息
    const val GET_BIAOHUI_RECORD = "/znzh/buz_GetRecord"
    //占领水源
    const val UPLOAD_WATER = "/znzh/czpb_Zlsy"

    //获取作战班
    const val GET_COMBAT_TEAMS = "/znzh/czpb_getzzblb"

    //获取组织机构下的模版
    const val GET_TEMPLATES = "/cf/buz_GetFkmb"

    //保存现场文书
    const val SAVE_DOCUMENT = "/cf/buz_SaveSxh"

    //验证登录状态
    const val CHECK_USER_LOGIN = "/xfjy_dl/xfjy_CheckUserLogin"
}